<% unless Envb::Rails.options[:excludes].include?(::Rails.env) %>

@import 'envb_mixins';

// A fixed gray banner used for displaying your current Rails environment name.
//
// .development - Changes banner color to purple.
// .acceptance  - Changes banner color to aqua.
// .staging     - Changes banner color to orange.
// .production  - Changes banner color to red.
//
// No styleguide reference.
html { padding-bottom:        29px !important; }

body:after {
  @include                    colors(<%= Envb::Rails.options[:colors][::Rails.env.to_sym] || '$envb_gray' %>);

  border-top: {
    style:                    solid;
    width:                    1px;
  }
  bottom:                     0;
  box-shadow:                 inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color:                      #fff;
  content:                    '<%= ::Rails.env %>';
  font: {
    family:                   'Helvetica Neue', Helvetica, sans-serif;
    size:                     16px;
    weight:                   bold;
  }
  left:                       0;
  line-height:                28px;
  margin:                     0;
  position:                   fixed;
  text: {
    align:                    center;
    shadow:                   0 1px 1px #000;
    transform:                uppercase;
  }
  width:                      100%;
  z-index:                    100;
  -webkit-font-smoothing:     antialiased;
}

<% end %>
